package test.service;

import java.util.Observable;
/**
 * 被观察者
 * @author eqyun
 *
 */
public class ChatObservable extends Observable{
	
	
	private String name = "";

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
		setChanged();
		notifyObservers();
	}
	
}
